<?php
/** @var array $openids */
/** @var string $groupId */
/** @var array $openidsList */
/** @var array $groupsList */
use yii\helpers\Html;

$this->title = '批量更新用户组';
$this->params['breadcrumbs'][] = ['url' => ['/user/index'], 'label' => '用户'];
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $form = \yii\bootstrap\ActiveForm::begin() ?>
<div class="form-group">
    <label>用户openid</label>
    <?= Html::listBox('openids', $openids, $openidsList, ['class' => 'form-control', 'multiple' => true]) ?>
    <label>用户组</label>
    <?= Html::dropDownList('groupId', $groupId, $groupsList, ['class' => 'form-control']) ?>
</div>
<div class="form-group">
    <button class="btn btn-primary">提交</button>
</div>
<?php $form->end() ?>
